/** *******************************************************************
 * FlexDatabaseManager
 * @author  Jonnie Spratley
 * @contact jonniespratley@gmail.com
 * @internal
 ******************************************************************* */
package com.jonniespratley.flexdatabasemanager.events.tables
{
	import com.adobe.cairngorm.control.CairngormEvent;
	
	import flash.events.Event;
		
	public final class GetTableIndexEvent extends CairngormEvent
	{
		public static const GET_TABLE_INDEX_EVENT:String = "GET_TABLE_INDEX_EVENT";

		public var aDatabase:String;
		public var aTable:String;

		public function GetTableIndexEvent( aDatabase:String, aTable:String )
		{
			super( GET_TABLE_INDEX_EVENT );
			this.aDatabase = aDatabase;
			this.aTable = aTable;
		}
		
		override public function clone():Event
		{
			return new GetTableIndexEvent( aDatabase, aTable );
		}
	}
}